module.exports = app => {
    const mongoose = app.mongoose;
    const SysUserScheam = new mongoose.Schema({
        no: { type: String },
        name: { type: String },
        username: { type: String },
        password: { type: String },
        appid: { type: String },
        secret: { type: String },
        mchid: { type: String },
        paternerkey: { type: String }
    },
        { collection: 'sysuser' })

    return mongoose.model('User', SysUserScheam);
}